package config

import (
	"github.com/zeromicro/go-queue/kq"
	"github.com/zeromicro/go-zero/zrpc"
	"github.com/zeromicro/zero-contrib/zrpc/registry/consul"
)

type Config struct {
	zrpc.RpcServerConf

	//consul 配置
	Consul consul.Conf

	//Kafka 配置
	KqUsersPusherConfig struct {
		Brokers []string
		Topic   string
	}
	KqUsersConsumerConf kq.KqConf

	DBConfig struct {
		Dsn string
	}

	RedisConfig struct {
		Addrs    []string
		Password string
	}
}
